package org.jb.coinche.server.statemachine.impl;

import java.util.Collection;

import org.jb.coinche.client.notify.Notification;
import org.jb.coinche.server.notify.NotificationProvider;
import org.jb.coinche.server.statemachine.StateMachine;

import com.google.inject.Inject;

public class StateMachineNotificationProvider implements NotificationProvider {

	@Inject
	private StateMachine stateMachine;
	
	@Override
	public void notify(Collection<Notification> notifications, long checkpoint) {
		stateMachine.notify(notifications, checkpoint);
	}

}
